package com.casic.ops.consts.command;


import com.casic.ops.consts.env.EnvConst;

/**
 * @ClassName ht-ops-platform
 * @Description 命令常量
 * @Author mianbin
 * @Date 2022/5/31 10:59
 * @Version 1.0
 **/
public class CommandConst {

    private CommandConst() {
    }

    public static final String TAIL_FILE_DEFAULT = "tail -f -n "
            + EnvConst.getReplaceVariable(EnvConst.OFFSET)
            + " " + EnvConst.getReplaceVariable(EnvConst.FILE);

    public static final String SCP_TRANSFER_DEFAULT = "scp "
            + EnvConst.getReplaceVariable(EnvConst.BUNDLE_PATH)
            + " " + EnvConst.getReplaceVariable(EnvConst.TARGET_USERNAME)
            + "@" + EnvConst.getReplaceVariable(EnvConst.TARGET_HOST)
            + ":" + EnvConst.getReplaceVariable(EnvConst.TRANSFER_PATH);

}
